package com.isunland.managesystem.entity;

import com.isunland.managesystem.base.BaseArray;
import com.isunland.managesystem.utils.ParamsNotEmpty;

/**
 * 对象功能:
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: wangyanan
 * 创建时间: 2017/5/17 16:09
 */
public class SimpleTreeListParams extends BaseParams {
  public static final int ONLY_CHILD = 1;
  @SuppressWarnings("unused") public static final int ALL = 0;
  /** 挂载的子属性 */
  private String childField;
  /** 挂载的父属性 */
  private String parentField;
  /** 接口地址 */
  private String url;
  /** 初始化接口参数 */
  private ParamsNotEmpty paramsNotEmpty;
  /** gson解析原始类型 */
  private Class<? extends BaseArray> classOriginal;
  /** 显示标题的属性 */
  private String titleField;

  public void setSelectType(int selectType) {
    this.selectType = selectType;
  }

  /** 选择类型,如全部,只有子节点等 */
  private int selectType;

  public String getContentField() {
    return contentField;
  }

  public void setContentField(String contentField) {
    this.contentField = contentField;
  }

  /** 显示副标题的属性 */
  private String contentField;
  /** 拼接全名 */
  private String fullName;

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  public ParamsNotEmpty getParamsNotEmpty() {
    return paramsNotEmpty;
  }

  public void setParamsNotEmpty(ParamsNotEmpty paramsNotEmpty) {
    this.paramsNotEmpty = paramsNotEmpty;
  }

  public Class<? extends BaseArray> getClassOriginal() {
    return classOriginal;
  }

  public void setClassOriginal(Class<? extends BaseArray> classOriginal) {
    this.classOriginal = classOriginal;
  }

  public String getTitleField() {
    return titleField;
  }

  public void setTitleField(String titleField) {
    this.titleField = titleField;
  }

  public String getFullName() {
    return fullName;
  }

  public void setFullName(String fullName) {
    this.fullName = fullName;
  }

  public String getChildField() {
    return childField;
  }

  public void setChildField(String childField) {
    this.childField = childField;
  }

  public String getParentField() {
    return parentField;
  }

  public void setParentField(String parentField) {
    this.parentField = parentField;
  }

  public int getSelectType() {
    return selectType;
  }
}
